package com.zackeus.mvvm.api.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * API 超时控制
 * @name: Timeout
 * @author: zz
 * @date: 2022/8/29
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Timeout {

    int connect() default 0;

    int read() default 0;

    int write() default 0;
}
